package com.yunxi.sys.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="Area对象", description="公告管理")
public class AfficheVO implements Serializable{

    private String afficheId;

    // 修改页面
    private  String groupName;
    private  String groupPeople;

    // 主页面
    private  String sendStatusStr;
    private  String isReadStr;
    private  String businessId;

    private String title;
    private String subTitle;
    private String sendPeople;
    private Integer sendStatus;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date sendDate;

    private Integer isRead;
    private String picPath;
    private Long companyId;
    private Long deptId;
    private Long positionId;
    private Long userId;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createDate;

    private String createBy;


    private Date updateDate;

    private String updateBy;

    // 增加字段
    private String userNames;
    private String deptNames;
    private String groupId;

    private String info;
    private  String receiverName;
    private  String receiverId;
    private String afficheType;// 公告类型
    private Integer versionCode;// 版本排序
    private Integer version;// 版本号
}